<template>
	<view>
		<u-popup mode="bottom" v-model="show" border-radius="20">
			<view>
				<u-cell-group >
					<u-cell-item title="微信支付" icon="weixin-circle-fill" :icon-style="{color:'#07C160'}" @click="pay('微信支付')"></u-cell-item>
					<u-cell-item title="余额支付" icon="red-packet-fill" :icon-style="{color:'#ffa30e'}" @click="pay('余额支付')"> </u-cell-item>
				</u-cell-group>
			</view>
		</u-popup>
	</view>

</template>

<script>
	export default {
		data() {
			return {
				show: false,
			}
		},
		methods:{
			pay(e){
				this.$emit("way",e)
				this.show=false
			}
		}
	}
</script>

<style>
</style>
